package com.zk.service.hql;

import com.zk.hql.dao.BaseService;
import com.zk.hql.entity.SysUserEntity;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


/**
 *
 * @author ChangFei
 *
 */
@Service(value = "sysUserService")
@Transactional(rollbackFor = Exception.class)
public class SysUserService extends BaseService {

	@Transactional(readOnly = true)
	public List<SysUserEntity> getAllUser() {
		return findAll(SysUserEntity.class);
	}
}
